<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
    <script src="../org/jquery.min.js"></script>
</head>
<body>
    <div ng-app="hd">
     <h1 hd-cms>HDPHP</h1>
    </div>
    <script>
        var vm = angular.module('hd',[]);
        vm.directive('hdCms',[function(){
            return {
                restrict: 'EA',
                replace: true,
                template: '<em>斜体<div ng-transclude="">123</div><em>',
                transclude: true
            }
        }])
    </script>
</body>
</html>